import request from '@/utils/http'

export const loginApi = ({ account, password }) => {
  return request({
    url: 'login',
    method: 'post',
    data: {
      account,
      password,
    },
  })
}

/**
 * 猜你喜欢
 * @param limit
 * @returns {*}
 */
export const getLikeListAPI = ({ limit = 4 }) => {
  return request({
    url: '/goods/relevant',
    params: {
      limit,
    },
  })
}
